package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class JuiceTest {
    public static void main(String[] args) {
        JuiceMaker j=new JuiceMaker();
        String r=j.makeJuice("葡萄");//接收
        System.out.println("老刘喝到了"+r);
        String f="胡萝卜";
        String r2= j.makeJuice(f);
        System.out.println("老刘喝到了"+r2);
        j.makeJuice("凤梨");
//        JuiceMaker j=new JuiceMaker();
//        j.brand="美的";
//        j.price=444;
//        j.fruit="葡萄";
//        j.makeJuice();
//        j.fruit="梨子";
//        j.makeJuice();
    }
}
